package com.mvu.banana.guest.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.mvu.banana.common.client.Page;
import com.mvu.banana.common.client.PermissionDTO;

/**
 * Created by IntelliJ IDEA.
 * User: mvu
 * Date: 4/20/11
 * Time: 4:20 PM
 * To change this template use File | Settings | File Templates.
 */
public class Guest extends Page {
  interface Binder extends UiBinder<ScrollPanel, Guest> { }
  private static final Binder binder = GWT.create(Binder.class);

  public void init() {
    initWidget(binder.createAndBindUi(this));
  }

  @Override
  public boolean canVisit(PermissionDTO permissions) {
    return true;
  }
}
